/* 
 * File:   Rule.h
 * Author: Elevator
 *
 * Created on July 14, 2013, 5:38 PM
 */

#ifndef DATA_RULE_H
#define DATA_RULE_H

#include "Action.h"
#include "Command.h"

namespace data {

	struct Rule {
	public:
		Rule(
			const Command& command,
			const Action& action );

		const Command GetCommand( ) const {
			return _command;
		}

		const Action GetAction( ) const {
			return _action;
		}

	private:
		Command _command;
		Action _action;
	};
}
#endif	/* RULE_H */
